<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false"%>
<%@ taglib prefix="c"  uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt"  uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link href="${pageContext.request.contextPath }/h-ui/css/H-ui.min.css" rel="stylesheet" type="text/css" />
<link href="${pageContext.request.contextPath }/h-ui/css/H-ui.admin.css" rel="stylesheet" type="text/css" />
<link href="${pageContext.request.contextPath }/h-ui/lib/Hui-iconfont/1.0.6/iconfont.css" rel="stylesheet" type="text/css" />
<title>用户管理</title>
</head>
<body>
<nav class="breadcrumb">
	<a class="btn btn-success radius r mr-20" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a>
</nav>
<div class="pd-20">
	<div id="search" class="text-c"> 
		<input type="text" class="input-text" style="width:250px" placeholder="输入昵称" id="M_NICKNAME" name="" value="">
		<input type="text" class="input-text" style="width:250px" placeholder="输入手机号" id="M_PHONE" name="" value="">
		<button type="submit" class="btn btn-success radius" name="" onclick="searchMethod('#memberSortDayList')" ><i class="Hui-iconfont">&#xe665;</i> 搜索</button>
	</div>
	<div class="cl pd-5 bg-1 bk-gray mt-20"> 
	<span class="l">
		<div class="l" style="width: 310px;">
      	<label class="l mt-5">排序日期：</label>
      	<input type="text" class="input-text layer-date l" value="" id="layerDate2" name="aCreatetime" style="display: inline-block;float: left;">
		</div>
		<a href="javascript:;" onclick="member_add_full_validate('查看详情','../memberSort/memberSortDayInfoList','','510')" class="btn btn-primary radius l ml-20"><i class="Hui-iconfont">&#xe695;</i>查看详情</a>
	</span>
	</div>
	<div class="mt-20">
	<table id="memberSortDayList" class="table table-border table-bordered table-hover table-bg table-sort">
		<thead>
			<tr class="text-c">
				<th width="25"><input type="checkbox" name="" value=""></th>
				<th data-field="M_ID">ID</th>
				<th data-field="indexNum">排序序号</th>
				<th data-field="M_NICKNAME">昵称</th>
				<th data-field="M_PHONE">手机号</th>
				<th data-field="memberCount">访问量</th>
				<th data-field="groupDate">访问时间</th>
			</tr>
		</thead>
	</table>
	</div>
</div>
<script type="text/javascript" src="${pageContext.request.contextPath }/h-ui/lib/jquery/1.9.1/jquery.min.js"></script> 
<script type="text/javascript" src="${pageContext.request.contextPath }/h-ui/lib/layer/2.1/layer.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath }/h-ui/lib/laypage/1.2/laypage.js"></script> 
<script type="text/javascript" src="${pageContext.request.contextPath}/h-ui/lib/layer/laydate/laydate.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath }/h-ui/lib/datatables/1.10.0/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath }/h-ui/moment.min.js"></script> 
<script type="text/javascript" src="${pageContext.request.contextPath }/h-ui/js/H-ui.js"></script> 
<script type="text/javascript" src="${pageContext.request.contextPath }/h-ui/js/H-ui.admin.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath }/h-ui/lib/Validform/5.3.2/Validform.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath }/h-ui/tableAddData.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath }/h-ui/jqthumb/jqthumb.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath }/h-ui/tableBtnGroup.js"></script>
<script type="text/javascript">
$(function(){
	//初始化日期格式插件
	initDate2();
});

function initDate2(){
	var layer_date=$('.layer-date');
	if(layer_date.length>0){
		var elementId='#layerDate2';
		var end = {
		        elem: elementId,
		        format: "YYYY-MM-DD",
		       /*  min: laydate.now(), */
		        max: laydate.now(),
		        isdate: true,
		        istoday: true,
		        festival: true, //显示节日
		        choose: function(datas){ //选择日期完毕的回调
		        	/* groupDate=datas; */
		        }
		    };
		    laydate(end);
	}
}

function member_add_full_validate(title,url){
	var layerDate2=$('#layerDate2').val();
	if(layerDate2!=''){
		url+='?groupDate='+layerDate2;
		member_add_full(title,url);
	}else{
		layer.msg('请选择查询日期！',{icon:0,time:1000});
	}
}

</script>
</body>
</html>